package com.pt25.base.dep.db.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class TenantTreePo extends TenantBasePo {
    /**
     * 父id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableField("parent_id")
    private Long parentId;
    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort = 0;
    /**
     * 权限层级
     */
    @TableField("level")
    private Integer level;
}
